package com.ukao.steward.retrofit;

import com.ukao.steward.bean.AddClothingItem;
import com.ukao.steward.bean.AddressListBean;
import com.ukao.steward.bean.BalanceBean;
import com.ukao.steward.bean.BankCardListBena;
import com.ukao.steward.bean.BatchClothingBean;
import com.ukao.steward.bean.BatchToShopBean;
import com.ukao.steward.bean.BlankTableBean;
import com.ukao.steward.bean.CameraTokenBean;
import com.ukao.steward.bean.Coupons;
import com.ukao.steward.bean.EnterFactoryBean;
import com.ukao.steward.bean.HttpBean;
import com.ukao.steward.bean.IncomeDetailbBean;
import com.ukao.steward.bean.LoginBean;
import com.ukao.steward.bean.LogisticsCountBean;
import com.ukao.steward.bean.MercCityBean;
import com.ukao.steward.bean.MyEarningBean;
import com.ukao.steward.bean.MyMessageBean;
import com.ukao.steward.bean.OrderClothingBean;
import com.ukao.steward.bean.OrderDetailBean;
import com.ukao.steward.bean.OrderInfoBean;
import com.ukao.steward.bean.OrderToShopBean;
import com.ukao.steward.bean.PersonalCenterBean;
import com.ukao.steward.bean.ProductListBean;
import com.ukao.steward.bean.ProductRelImgBean;
import com.ukao.steward.bean.ReceiptBean;
import com.ukao.steward.bean.ReceiveOrderBean;
import com.ukao.steward.bean.ScanCodeBean;
import com.ukao.steward.bean.ScanCodeTabBean;
import com.ukao.steward.bean.SearchUserBean;
import com.ukao.steward.bean.ShoppingBean;
import com.ukao.steward.bean.StorageListBean;
import com.ukao.steward.bean.StoreBean;
import com.ukao.steward.bean.StringBean;
import com.ukao.steward.bean.TodayEarningBean;
import com.ukao.steward.bean.TradeOrderBean;
import com.ukao.steward.bean.UserInfoCard;
import com.ukao.steward.bean.ValetCountBean;
import com.ukao.steward.bean.VerifysBean;
import com.ukao.steward.bean.VipCardListBean;
import com.ukao.steward.bean.WaitingOrderBean;
import com.ukao.steward.bean.businessWholeBean;
import com.ukao.steward.bean.serviceTimeBean;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;


public interface ApiStores {
      //测试环境
 String API_SERVER_URL = "http://api.ukaocloud.cn/";
    //正式环境
//   String API_SERVER_URL = "http://api.ukaocloud.com/";
//    String API_SERVER_URL = "http://10.0.0.13:8081";
//    String API_SERVER_URL = "http://10.0.0.19:8081/";/*勇哥*/
//    String API_SERVER_URL="http://10.0.0.17:8081/";

    //加载天气
    @GET("adat/sk/{cityId}.html")
    Observable<ResponseBody> loadDataByRetrofitRxjava(@Path("cityId") String cityId);
    /**
     * 首页 消息
     */
    @FormUrlEncoded
    @POST("wk/workerMenu/count/list")
    Observable<LogisticsCountBean> batchCount(@FieldMap Map<String, String> map);


    /**
     * 首页 取送人员 消息
     */
    @FormUrlEncoded
    @POST("wk/order/count/list")
    Observable<ValetCountBean> takeCount(@FieldMap Map<String, String> map);




    /**
     *服务时间
     */
    @FormUrlEncoded
    @POST("wk/serviceTime/list")
    Observable<serviceTimeBean> serviceTime(@FieldMap Map<String,String> map);


    /**
     * 入厂 未取
     */
    @FormUrlEncoded
    @POST("wk/batchIn/waiting/list")
    Observable<EnterFactoryBean> enterFactoryNotTake(@FieldMap Map<String, String> map);


    /**
     * 已到厂
     */
    @FormUrlEncoded
    @POST("wk/batchIn/reach/list")
    Observable<EnterFactoryBean> arriveFactoryN(@FieldMap Map<String, String> map);


    /**
     * 入厂   未送厂
     */
    @FormUrlEncoded
    @POST("wk/batchIn/sending/list")
    Observable<EnterFactoryBean> sendFactoryNotTake(@FieldMap Map<String, String> map);

    /**
     * 入厂   扫码
     */
    @FormUrlEncoded
    @POST("wk/batchIn/scanCode")
    Observable<ScanCodeBean> scanCode(@FieldMap Map<String, String> map);

    /**
     * 入厂   确定接收
     */
    @FormUrlEncoded
    @POST("wk/batchIn/receive")
    Observable<StringBean> receive(@FieldMap Map<String, String> map);


    /**
     * 出厂 未取
     */
    @FormUrlEncoded
    @POST("wk/batchOut/waiting/list")
    Observable<EnterFactoryBean> batchOutWaiting(@FieldMap Map<String, String> map);


    /**
     * 出厂 到达门店
     */
    @FormUrlEncoded
    @POST("wk/batchOut/reach/list")
    Observable<EnterFactoryBean> arriveStore(@FieldMap Map<String, String> map);

    /**
     * 出厂订单  到达门店
     */
    @FormUrlEncoded
    @POST("wk/order/factoryOut/reach/list")
    Observable<EnterFactoryBean> factoryOutOrdid(@FieldMap Map<String, String> map);


    /**
     * 出厂 未送店
     */
    @FormUrlEncoded
    @POST("wk/batchOut/sending/list")
    Observable<EnterFactoryBean> sendingStore(@FieldMap Map<String, String> map);

    /**
     * 出厂订单 未送店
     */
    @FormUrlEncoded
    @POST("wk/order/factoryOut/sending/list")
    Observable<EnterFactoryBean> sendingOrderlist(@FieldMap Map<String, String> map);

    /**
     * 出厂 扫码
     */
    @FormUrlEncoded
    @POST("wk/batchOut/scanCode")
    Observable<ScanCodeBean> batchOutscanCode(@FieldMap Map<String, String> map);

    /**
     * 出厂订单 扫码
     */
    @FormUrlEncoded
    @POST("wk/order/factoryOut/scanCode")
    Observable<ScanCodeBean> OutOrdidsCanCode(@FieldMap Map<String, String> map);


    /**
     * 出厂   确定接收
     */
    @FormUrlEncoded
    @POST("wk/batchOut/receive ")
    Observable<StringBean> batchOutReceive(@FieldMap Map<String, String> map);

    /**
     * 出厂订单   确定接收
     */
    @FormUrlEncoded
    @POST("wk/order/factoryOut")
    Observable<StringBean> orderfactoryOutReceive(@FieldMap Map<String, String> map);
    /**
     * 获取签名
     */
    @FormUrlEncoded
    @POST("wk/sign")
    Observable<ResponseBody> sign(@FieldMap Map<String, String> map);
    /**
     * 登录
     */
    @FormUrlEncoded
    @POST("wk/login")
    Observable<LoginBean> login(@FieldMap Map<String, String> map);
   /*菜单：*/

    /**
     * 菜单我发展的客户
     */
    @FormUrlEncoded
    @POST("wk/workerFans/list")
    Observable<ResponseBody> workerFans(@FieldMap Map<String, String> map);

    /**
     * 菜单 推广码
     */
    @FormUrlEncoded
    @POST("wk/worker/spreadCode")
    Observable<ResponseBody> spreadCode(@FieldMap Map<String, String> map);

    /**
     * 菜单 客服电话
     */
    @FormUrlEncoded
    @POST("wk/worker/serviceTel")
    Observable<ResponseBody> serviceTel(@FieldMap Map<String, String> map);

    /**
     * 菜单 休息、离线
     */
    @FormUrlEncoded
    @POST("wk/worker/rest")
    Observable<StringBean> rest(@FieldMap Map<String, String> map);

    /**
     * 菜单 在线 、上线
     */
    @FormUrlEncoded
    @POST("wk/worker/onLine")
    Observable<StringBean> onLine(@FieldMap Map<String, String> map);


    /**
     * 退出登录
     */
    @FormUrlEncoded
    @POST("wk/logout")
    Observable<StringBean> logout(@FieldMap Map<String, String> map);

    /**
     * 验证账号 验证完成自动发送短信
     */
    @FormUrlEncoded
    @POST("wk/verifyAccount")
    Observable<VerifysBean> verifyAccount(@FieldMap Map<String, String> map);

    /**
     * 设置密码
     */
    @FormUrlEncoded
    @POST("wk/resetPassword")
    Observable<StringBean> resetPassword(@FieldMap Map<String, String> map);


    /**
     * 上传坐标
     */
    @FormUrlEncoded
    @POST("wk/workerLocus/android/add")
    Observable<StringBean> addYWGPS(@FieldMap Map<String, String> map);

    /*************************************取送员* ******************************8********/

    /**
     * 取件员 待接单列表
     */
    @FormUrlEncoded
    @POST("wk/order/wait/list")
    Observable<WaitingOrderBean> waitOrder(@FieldMap Map<String, String> map);


    /**
     * 取件员-接收订单 参数：orderId
     */
    @FormUrlEncoded
    @POST("wk/order/receiving")
    Observable<StringBean> receiving(@FieldMap Map<String, String> map);

    /**
     * 取件员  已接单，未取件
     */
    @FormUrlEncoded
    @POST("wk/order/receiving/list")
    Observable<WaitingOrderBean> receiveNoTake(@FieldMap Map<String, String> map);

    /**
     * 取件员  未交
     */
    @FormUrlEncoded
    @POST("wk/order/received/list")
    Observable<WaitingOrderBean> received(@FieldMap Map<String, String> map);

    /**
     * 取件员 已交
     */
    @FormUrlEncoded
    @POST("wk/order/toStore/list")
    Observable<WaitingOrderBean> mating(@FieldMap Map<String, String> map);

    /**
     * 取件员 拒绝接单
     */
    @FormUrlEncoded
    @POST("wk/order/reject")
    Observable<StringBean> reject(@FieldMap Map<String, String> map);

    /**
     * 取件员提前定价
     */
    @FormUrlEncoded
    @POST("wk/order/modify/price")
    Observable<StringBean> modifyPrice(@FieldMap Map<String, String> map);


    /**
     * 取件员 设置运单号
     */
    @FormUrlEncoded
    @POST("wk/order/add/transNo")
    Observable<StringBean> addtransNo(@FieldMap Map<String, String> map);

    /**
     *绑定条码
     */
    @FormUrlEncoded
    @POST("wk/orderProduct/bindCode")
    Observable<StringBean> bindCode(@FieldMap Map<String, String> map);


    /**
     * 取件员  送件 未取
     */
    @FormUrlEncoded
    @POST("wk/order/waitTake/list")
    Observable<WaitingOrderBean> waitTake(@FieldMap Map<String, String> map);

    /**
     * 取件员 送件 未送
     */
    @FormUrlEncoded
    @POST("wk/order/waitSign/list")
    Observable<WaitingOrderBean> waitSend(@FieldMap Map<String, String> map);

    /**
     * 取件员 送件  已完成
     */
    @FormUrlEncoded
    @POST("wk/order/complete/list")
    Observable<WaitingOrderBean> complete(@FieldMap Map<String, String> map);

    /**
     * 取件员 送件  取件
     */
    @FormUrlEncoded
    @POST("wk/order/receiving/send")
    Observable<StringBean> receivingSend(@FieldMap Map<String, String> map);

  /**
   * 门店列表
   */
  @FormUrlEncoded
  @POST("wk/store/list")
  Observable<StoreBean> storelist(@FieldMap Map<String, String> map);



    /**
     * 送件员扫订单编号接收订单
     */
    @FormUrlEncoded
    @POST("wk/order/receiving/scancode")
    Observable<StringBean> scancode(@FieldMap Map<String, String> map);


    /**
     * 取件员 送件  签收
     */
    @FormUrlEncoded
    @POST("wk/order/sign")
    Observable<StringBean> signParcel(@FieldMap Map<String, String> map);

    /**
     * 推送消息列表
     */
    @FormUrlEncoded
    @POST("wk/pushMsgWork/app/list")
    Observable<MyMessageBean> pushMsgWork(@FieldMap Map<String, String> map);

    /**
     * 标识已读 参数 id
     */
    @FormUrlEncoded
    @POST("wk/pushMsgWork/read")
    Observable<StringBean> pushMsgWorkRead(@FieldMap Map<String, String> map);

    /**
     * 消息标识不显示
     */
    @FormUrlEncoded
    @POST("wk/pushMsgWork/hide")
    Observable<ResponseBody> hide(@FieldMap Map<String, String> map);

    /**
     * 读卡
     */
    @FormUrlEncoded
    @POST("wk/userInfo/card")
    Observable<UserInfoCard> userInfoCard(@FieldMap Map<String, String> map);

    /**
     * 手机号搜索
     */
    @FormUrlEncoded
    @POST("wk/userInfo/queryPhone")
    Observable<SearchUserBean> queryKeyword(@FieldMap Map<String, String> map);


    /**
     * 获取验证码
     */
    @FormUrlEncoded
    @POST("wk/sms/register")
    Observable<StringBean> testGetCode(@FieldMap Map<String, String> map);

    /**
     * 绑卡
     */
    @FormUrlEncoded
    @POST("wk/userInfo/cardBinding")
    Observable<StringBean> cardBinding(@FieldMap Map<String, String> map);

    /**
     * 添加用户
     */
    @FormUrlEncoded
    @POST("wk/userInfo/add")
    Observable<StringBean> userInfoAdd(@FieldMap Map<String, String> map);

    /**
     * 订单详情
     */
    @FormUrlEncoded
    @POST("wk/order/detail")
    Observable<OrderDetailBean> orderDetail(@FieldMap Map<String, String> map);

    /**
     * 查询订单交易列表
     */
    @FormUrlEncoded
    @POST("wk/tradeOrder/list")
    Observable<TradeOrderBean> tradeOrder(@FieldMap Map<String, String> map);

    /**
     * 查询订单衣物列表
     */
    @FormUrlEncoded
    @POST("wk/orderProduct/list")
    Observable<ProductListBean> orderProductList(@FieldMap Map<String, String> map);

    /**
     * 员工收支概况
     */
    @FormUrlEncoded
    @POST("wk/profitDetail/income")
    Observable<MyEarningBean> balanceIncome(@FieldMap Map<String, String> map);


    /**
     * 员工收支概况
     */
    @FormUrlEncoded
    @POST("wk/profitDetail/list")
    Observable<IncomeDetailbBean> incomeDetail(@FieldMap Map<String, String> map);

    /**
     * 员工收支概况
     */
    @FormUrlEncoded
    @POST("wk/profitDetail/month/list")
    Observable<IncomeDetailbBean> monthlist(@FieldMap Map<String, String> map);

    /**
     * 员工收支概况
     */
    @FormUrlEncoded
    @POST("wk/profitDetail/income/day")
    Observable<TodayEarningBean> dayIncome(@FieldMap Map<String, String> map);

    /**
     * 员工收支概况
     */
    @FormUrlEncoded
    @POST("wk/profitDetail/income/month")
    Observable<TodayEarningBean> monthIncome(@FieldMap Map<String, String> map);

    /**
     * 获取验证码
     */
    @FormUrlEncoded
    @POST("wk/sms/verifyBank")
    Observable<StringBean> verifyBank(@FieldMap Map<String, String> map);

    /**
     * 添加账号
     */
    @FormUrlEncoded
    @POST("wk/tradeWallet/add")
    Observable<StringBean> addBankCard(@FieldMap Map<String, String> map);

    /**
     * 查询提现账号列表
     */
    @FormUrlEncoded
    @POST("wk/tradeWallet/list")
    Observable<BankCardListBena> tradeWalletlist(@FieldMap Map<String, String> map);

    /**
     * 申请提现
     */
    @FormUrlEncoded
    @POST("wk/tradeAudit/apply")
    Observable<StringBean> tradeAuditapply(@FieldMap Map<String, String> map);

    /**
     * 员工详情
     */
    @FormUrlEncoded
    @POST("wk/worker/detail")
    Observable<PersonalCenterBean> workerdetail(@FieldMap Map<String, String> map);

    /**
     * 下单手机号/卡号/RFID卡号查询用户信息
     */
    @FormUrlEncoded
    @POST("wk/userInfo/queryKeyword")
    Observable<SearchUserBean> queryKeywordUse(@FieldMap Map<String, String> map);

    /**
     * 查询会员卡
     */
    @FormUrlEncoded
    @POST("wk/userCard/list")
    Observable<VipCardListBean> userCard(@FieldMap Map<String, String> map);

    /**
     * 新增用户
     */
    @FormUrlEncoded
    @POST("wk/userInfo/add")
    Observable<StringBean> addUserInfo(@FieldMap Map<String, String> map);


    /**
     * 查询经营大类 + 经营大类对应的服务类型
     */
    @FormUrlEncoded
    @POST("wk/business/whole")
    Observable<businessWholeBean> businessWhole(@FieldMap Map<String, String> map);

    /**
     * 查单衣物列表  //typeId
     */
    @FormUrlEncoded
    @POST("wk/business/price/list")
    Observable<ShoppingBean> pricelist(@FieldMap Map<String, String> map);


    /**
     * 创建订单
     */
    @FormUrlEncoded
    @POST("wk/order/add")
    Observable<StringBean> createOrder(@FieldMap Map<String, String> map);

    /**
     * 门店提交下单
     */
    @FormUrlEncoded
    @POST("wk/order/addBook")
    Observable<OrderInfoBean> storeCreateOrder(@FieldMap Map<String, String> map);

    /**
     * 员工新增用户取件地址
     */
    @FormUrlEncoded
    @POST("wk/address/add")
    Observable<SearchUserBean.AddressListBean> addressAdd(@FieldMap Map<String, String> map);



    /**
     * 查询入库
     */
    @FormUrlEncoded
    @POST("wk/stockIn/queryOrder")
    Observable<StorageListBean> queryOrder(@FieldMap Map<String, String> map);
    /**
     * 完成入库
     */
    @FormUrlEncoded
    @POST("wk/stockIn/finish")
    Observable<StringBean> stockInfinish(@FieldMap Map<String, String> map);
    /**
     * 修改订单金额

     */
    @FormUrlEncoded
    @POST("wk/order/modifyPrice")
    Observable<StringBean> storageModifyPrice(@FieldMap Map<String, String> map);




    /**
     * 用户地址列表
     */
    @FormUrlEncoded
    @POST("wk/address/list")
    Observable<AddressListBean> addresslist(@FieldMap Map<String, String> map);





    /**
     * 支付订单详情
     */
    @FormUrlEncoded
    @POST("wk/order/payInfo")
    Observable<OrderInfoBean> payInfo(@FieldMap Map<String, String> map);

    /**
     * 订单详情
     */
    @FormUrlEncoded
    @POST("wk/order/info")
    Observable<ResponseBody> orderInfo(@FieldMap Map<String, String> map);


    /**
     * 添加运单号
     */
    @FormUrlEncoded
    @POST("wk/order/add/transNo")
    Observable<StringBean> transNo(@FieldMap Map<String, String> map);


    /**
     * 城市运费信息
     */
    @FormUrlEncoded
    @POST("wk/city/carriage")
    Observable<MercCityBean> cityCarriage(@FieldMap Map<String, String> map);


    /**
     * 查询订单优惠券
     */
    @FormUrlEncoded
    @POST("wk/couponInfo/orderList")
    Observable<Coupons> couponList(@FieldMap Map<String, String> map);

    /**
     * 使用优惠券
     */
    @FormUrlEncoded
    @POST("wk/couponInfo/use")
    Observable<StringBean> userCouponInfo(@FieldMap Map<String, String> map);


    /**
     * 取消优惠券接口
     */
    @FormUrlEncoded
    @POST("wk/couponInfo/unused")
    Observable<StringBean> canCouponInfo(@FieldMap Map<String, String> map);

    /**
     * 微信统一下单-被扫二维码
     */
    @FormUrlEncoded
    @POST("wk/tradePay/wxUnifiedOrder")
    Observable<BalanceBean> wxUnifiedOrder(@FieldMap Map<String, String> map);

    /**
     * 支付宝统一下单-被扫二维码
     */
    @FormUrlEncoded
    @POST("wk/tradePay/aliUnifiedOrder")
    Observable<BalanceBean> aliUnifiedOrder(@FieldMap Map<String, String> map);

    /**
     * 支付宝统一下单-被扫二维码  充值
     */
    @FormUrlEncoded
    @POST("wk/userRecharge/aliRecharge")
    Observable<BalanceBean> aliRecharge(@FieldMap Map<String, String> map);

    /**
     * 查询交易状态
     */
    @FormUrlEncoded
    @POST("wk/tradePay/queryStatusBySeq")
    Observable<BalanceBean> queryStatusBySeq(@FieldMap Map<String, String> map);


    /**
     * 微信充值（微信统一下单-被扫）
     */
    @FormUrlEncoded
    @POST("wk/userRecharge/wxRecharge")
    Observable<BalanceBean> wxRecharge(@FieldMap Map<String, String> map);


    /**
     * 支付解锁
     */
    @FormUrlEncoded
    @POST("wk/tradePay/unlockOrder")
    Observable<StringBean> unlockOrder(@FieldMap Map<String, String> map);

    /**
     * 用户余额
     */
    @FormUrlEncoded
    @POST("wk/userExt/balance")
    Observable<BalanceBean> userExtbalance(@FieldMap Map<String, String> map);

    /**
     * 确认付款（余额|余额+现金）方式
     */
    @FormUrlEncoded
    @POST("wk/tradePay/confirmPay")
    Observable<BalanceBean> confirmPay(@FieldMap Map<String, String> map);

    /**
     * 线下银联付款（余额+银联）方式
     */
    @FormUrlEncoded
    @POST("wk/tradePay/unionPay")
    Observable<BalanceBean> unionPay(@FieldMap Map<String, String> map);

    /**
     * 其它付款
     */
    @FormUrlEncoded
    @POST("wk/tradePay/otherPay")
    Observable<BalanceBean> otherPay(@FieldMap Map<String, String> map);


    /**
     * 银行卡列表
     */
    @FormUrlEncoded
    @POST("wk/dic/bank")
    Observable<BlankTableBean> bankTabel(@FieldMap Map<String, String> map);


    /**
     * 订单快速计价
     */
    @FormUrlEncoded
    @POST("wk/order/valuation/simple")
    Observable<StringBean> valuation(@FieldMap Map<String, String> map);

    /**
     * 订单精准计价
     */
    @FormUrlEncoded
    @POST("wk/order/valuation/accurate")
    Observable<StringBean> valuationAccurate(@FieldMap Map<String, String> map);

    /**
     * 进厂订单（未送厂）
     */
    @FormUrlEncoded
    @POST("wk/order/factoryIn/sending/list")
    Observable<EnterFactoryBean> sendingList(@FieldMap Map<String, String> map);

    /**
     * 进厂订单 - 已到厂
     */
    @FormUrlEncoded
    @POST("wk/order/factoryIn/reach/list")
    Observable<EnterFactoryBean> reachFactoryIn(@FieldMap Map<String, String> map);

    /**
     * 进厂订单 - 扫码查询
     */
    @FormUrlEncoded
    @POST("wk/order/factoryIn/scanCode")
    Observable<ScanCodeBean> factoryInScanCode(@FieldMap Map<String, String> map);

    /**
     * 确认订单进厂
     */
    @FormUrlEncoded
    @POST("wk/order/factoryIn")
    Observable<StringBean> sureFactoryIn(@FieldMap Map<String, String> map);

    /**
     * 打印小票
     */
    @FormUrlEncoded
    @POST("wk/print/order/detail")
    Observable<ReceiptBean> printReceipt(@FieldMap Map<String, String> map);
    /**
     * 复制衣物
     */
    @FormUrlEncoded
    @POST("wk/stockIn/copy")
    Observable<StringBean> copy(@FieldMap Map<String, String> map);
    /**
     *  删除衣物

     */
    @FormUrlEncoded
    @POST("wk/stockIn/delete")
    Observable<StringBean> delete(@FieldMap Map<String, String> map);



//    /**
//     * 订单入库
//     */
//    @FormUrlEncoded
//    @POST("wk/order/stockIn")
//    Observable<StringBean> orderStockIn(@FieldMap Map<String, String> map);



    /**
     * 订单入库
     */
    @FormUrlEncoded
    @POST("wk/order/stockIn")
    Observable<StringBean> orderStockIn(@FieldMap Map<String, String> map);
    /**
     * 订单 - 查询员工操作订单列表
     */
    @FormUrlEncoded
    @POST("wk/logWorkerOprOrder/list")
    Observable<ScanCodeTabBean> logWorkerOprOrder(@FieldMap Map<String, String> map);

    /**
     * 订单 - 删除操作列表
     */
    @FormUrlEncoded
    @POST("wk/logWorkerOprOrder/deleteByOprType")
    Observable<StringBean> deleteByOprType(@FieldMap Map<String, String> map);


    /**
     * 确认订单进厂
     */
    @FormUrlEncoded
    @POST("wk/order/factoryInWithAlert")
    Observable<ReceiveOrderBean> factoryInWithAlert(@FieldMap Map<String, String> map);


    /**
     * 确认订单出厂
     */
    @FormUrlEncoded
    @POST("wk/order/factoryOutWithAlert")
    Observable<ReceiveOrderBean> factoryOutWithAlert(@FieldMap Map<String, String> map);

    /**
     * 全部已读
     * wk/pushMsgWork/hide 隐藏（删除） 参数 id
     * wk/pushMsgWork/hideAll 全部隐藏（删除）
     */
    @FormUrlEncoded
    @POST("wk/pushMsgWork/readAll")
    Observable<StringBean> readAll(@FieldMap Map<String, String> map);

    /**
     * 微信刷卡支付-主扫
     */
    @FormUrlEncoded
    @POST("wk/tradePay/wxMicroPay")
    Observable<StringBean> wxMicroPay(@FieldMap Map<String, String> map);


    /**
     * 支付宝刷卡支付-主扫
     */
    @FormUrlEncoded
    @POST("wk/tradePay/aliMicroPay")
    Observable<StringBean> aliMicroPay(@FieldMap Map<String, String> map);


    /**
     *添加衣物 项目
     */
    @FormUrlEncoded
    @POST("wk/productBusiness/list")
    Observable<AddClothingItem>  project(@FieldMap Map<String,String> map);
    /**
     *顔色
     */
    @FormUrlEncoded
    @POST("wk/productColor/list")
    Observable<AddClothingItem>  productColor(@FieldMap Map<String,String> map);
    /**
     *瑕疵
     */
    @FormUrlEncoded
    @POST("wk/productFlaw/list")
    Observable<AddClothingItem>  productFlaw(@FieldMap Map<String,String> map);

    /**
     *洗后效果
     */
    @FormUrlEncoded
    @POST("wk/productEffect/list")
    Observable<AddClothingItem>  productEffect(@FieldMap Map<String,String> map);
    /**
     *品牌
     */
    @FormUrlEncoded
    @POST("wk/productBrand/list")
    Observable<AddClothingItem>  productBrand(@FieldMap Map<String,String> map);

    /**
     *产品详情
     */
    @FormUrlEncoded
    @POST("wk/productInfo/list")
    Observable<AddClothingItem>  productInfo(@FieldMap Map<String,String> map);

    /**
     *附加服务
     */
    @FormUrlEncoded
    @POST("wk/productAddService/list")
    Observable<AddClothingItem>  productAddService(@FieldMap Map<String,String> map);
    /**
     *产品服务
     */
    @FormUrlEncoded
    @POST("wk/productService/list")
    Observable<AddClothingItem>  productService(@FieldMap Map<String,String> map);

    /**
     *附件
     */
    @FormUrlEncoded
    @POST("wk/productAnnex/list")
    Observable<AddClothingItem>  productAnnex(@FieldMap Map<String,String> map);

    /**
     *完成入库
     */
    @FormUrlEncoded
    @POST("wk/stockIn/add")
    Observable<StringBean> finishstockIn(@FieldMap Map<String,String> map);

    /**
     *编辑衣物
     */
    @FormUrlEncoded
    @POST("wk/stockIn/update")
    Observable<StringBean>  stockInUpdate(@FieldMap Map<String,String> map);


    /**
     *搜索订单
     */
    @FormUrlEncoded
    @POST("wk/stockIn/queryCode")
    Observable<StorageListBean>  queryCode(@FieldMap Map<String,String> map);
    /**
     *
     获取七牛token
     */
    @FormUrlEncoded
    @POST("wk/attachment/qiniu/token")
    Observable<CameraTokenBean>   qiniutoken(@FieldMap Map<String,String> map);
    /**
     *
     添加衣物照片
     */
    @FormUrlEncoded
    @POST("wk/orderProductRelImg/batchAdd")
    Observable<StringBean>   addroductRelImg(@FieldMap Map<String,String> map);
    /**
     *
     删除衣物图片
     */
    @FormUrlEncoded
    @POST("wk/orderProductRelImg/delete")
    Observable<StringBean>   deleteRelImg(@FieldMap Map<String,String> map);


    /**
     查询衣物图片列表
     */
    @FormUrlEncoded
    @POST("wk/orderProductRelImg/list")
    Observable<ProductRelImgBean> productlist(@FieldMap Map<String,String> map);

    /**
     * 查询批次到店
     */
    @FormUrlEncoded
    @POST("wk/batchOut/store/receive")
    Observable<BatchToShopBean> queryToShopBatchCode(@FieldMap Map<String, String> map);
    /**
     * 查询订单到店
     */
    @FormUrlEncoded
    @POST("wk/order/store/factoryOut/scanCode")
    Observable<OrderToShopBean> queryToShopOrderCode(@FieldMap Map<String, String> map);


    /**
     * 查询到店，批次衣服情况
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("wk/orderProductBatchOutRel/receiveProList")
    Observable<BatchClothingBean> queryBatchClothesSituation(@FieldMap Map<String, String> map);

    /**
     * 查询到店，订单衣服情况
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("wk/orderProduct/store/factoryOut/proList")
    Observable<OrderClothingBean> queryOrderClothesSituation(@FieldMap Map<String, String> map);

    /**
     *  让批次的商品全部到店
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("wk/orderProductBatchOutRel/store/confirm")
    Observable<HttpBean> batchClothesAllToShop(@FieldMap Map<String, String> map);
    /**
     *  让订单的衣物全部到店
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("wk/orderProduct/store/factoryOut/confirm")
    Observable<HttpBean> orderClothesAllToShop(@FieldMap Map<String, String> map);

}